package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Employee;
import com.itheima.common.PageParm;


public interface EmployeeService {


    /**
     * 登录
     * @param employee
     * @return
     */
    Employee login(Employee employee);

    /**
     * 添加用户
     * @param employee
     * @return
     */
    int add(Employee employee);

    /**
     * 分页所有
     * @return
     */
   IPage<Employee> selectPage(PageParm page);

    /**
     * 更新数据
     * @param employee
     * @return
     */
   int update(Employee employee);





}
